package com.mall.client.commkey;

import java.util.List;

import com.mall.pojo.Commkey;
import com.mall.pojo.CommkeyExample;

public interface CommKeyService {

	List<Commkey> getCommKeyByExamPle(CommkeyExample example);

	/**
	 * 根据commkeyId获取ComKey对象
	 */
	List<Commkey> getComKeyByCommOnlyKey(Integer commkeyId);

	Integer getRegionByList(Integer code, List<Commkey> commKeyList);

	/**
	 * 批量插入
	 * @param commkeyList
	 * @return
	 */
	Long insertCommkey(List<Commkey> commkeyList);

}
